package com.woniu.goods.domain;

import java.util.Date;

public class Goods {
	private int gid ;
	private String gname ;
	private double price ;
	private int count ;
	private String status ;
	private GoodsType gType ;
	private String imgPath ;
	private Date createDate ;
	
	public int getGid() {
		return gid;
	}
	public void setGid(int gid) {
		this.gid = gid;
	}
	public String getGname() {
		return gname;
	}
	public void setGname(String gname) {
		this.gname = gname;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public GoodsType getgType() {
		return gType;
	}
	public void setgType(GoodsType gType) {
		this.gType = gType;
	}
	public String getImgPath() {
		return imgPath;
	}
	public void setImgPath(String imgPath) {
		this.imgPath = imgPath;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public Goods(int gid, String gname, double price, int count, String status, GoodsType gType, String imgPath,
			Date createDate) {
		super();
		this.gid = gid;
		this.gname = gname;
		this.price = price;
		this.count = count;
		this.status = status;
		this.gType = gType;
		this.imgPath = imgPath;
		this.createDate = createDate;
	}
	public Goods(String gname, double price, int count, String status, GoodsType gType, String imgPath,
			Date createDate) {
		super();
		this.gname = gname;
		this.price = price;
		this.count = count;
		this.status = status;
		this.gType = gType;
		this.imgPath = imgPath;
		this.createDate = createDate;
	}
	
	public Goods() {
		super();
		// TODO Auto-generated constructor stub
	}
}
